package com.yfp.operation.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yfp.operation.domain.ActivitySignInsClientRecords;
import com.yfp.operation.domain.dto.ActivitySignInsSearchParticipationAwardReqDTO;
import com.yfp.operation.enums.ActivitySignInsClientRecordsStatusEnums;
import com.yfp.operation.service.ActivitySignInsClientRecordsService;
import com.yfp.operation.mapper.ActivitySignInsClientRecordsMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 * @description 针对表【activity_sign_ins_client_records(打卡管理-参与用户领取表)】的数据库操作Service实现
 * @createDate 2025-01-02 10:22:14
 */
@Service
public class ActivitySignInsClientRecordsServiceImpl extends ServiceImpl<ActivitySignInsClientRecordsMapper, ActivitySignInsClientRecords> implements ActivitySignInsClientRecordsService {

    @Resource
    private ActivitySignInsClientRecordsMapper activitySignInsClientRecordsMapper;

    @Override
    public List<ActivitySignInsClientRecords> searchParticipationAwardList(ActivitySignInsSearchParticipationAwardReqDTO searchReqDTO) {
        searchReqDTO.setReceiveState(ActivitySignInsClientRecordsStatusEnums.SUCCESS.getCode());
        return activitySignInsClientRecordsMapper.searchParticipationAwardList(searchReqDTO);
    }
}




